package com.youlv.yl.service.intf;

import com.youlv.yl.dto.CommentDto;
import com.youlv.yl.dto.CommentReplyDto;
import com.youlv.yl.entity.mood.MoodComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlv.yl.vo.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fenghe
 * @since 2022-01-17
 */
public interface MoodCommentService extends IService<MoodComment> {

    /** 发布评论*/
    R save(CommentDto dto);

    /** 发布回复*/
    R saveRep(CommentReplyDto dto);

    /** 查询动态的评论列表*/
    R queryByMid(Long mid);
}
